#ifndef CMAINWINDOW_H
#define CMAINWINDOW_H

// We include QMainWindow, the base class of our main window...
#include <QMainWindow>

//... as well as the QtPropertyExplorerLib.h. This file only contains a macro definition.
#include "QtPropertyExplorerLib.h"

// The important files to include are:
#include "QPropertyModel.h"
#include "QPropertyTreeView.h"

// The standard namespace of QtPropertyExplorer is QPE
using namespace QPE;

// The header file of the main window is pretty straight forward:
class CMainWindow : public QMainWindow
{
	Q_OBJECT
public:
	explicit CMainWindow(QWidget *parent = 0);
	virtual ~CMainWindow();

signals:

public slots:
	void userChangedData(QProperty* prop);

protected:
	QPropertyModel* PropertyModel;
	QPropertyTreeView* TreeView;
};

#endif // CMAINWINDOW_H
